﻿@model LS.Models.CardManageModel

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>MemberCard</legend>

    <form class="form-horizontal">
        <div class="control-group">
            <label class="control-label">@Html.DisplayNameFor(model => model.Card.SeiralNumber)</label>
            <div class="controls">
                <input class="input-xlarge disabled" id="disabledInput" value="@Html.DisplayFor(model => model.Card.SeiralNumber)" placeholder="@Html.DisplayFor(model => model.Card.SeiralNumber)" disabled="">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">@Html.DisplayNameFor(model => model.Description)</label>
            <div class="controls">
                <input type="text" placeholder="Description" value="@Html.DisplayFor(model => model.Description)">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">@Html.DisplayNameFor(model => model.ExpireDate)</label>
            <div class="controls">
                <input class="input-xlarge disabled" type="date" placeholder="ExpireDate" value="@Html.DisplayFor(model => model.ExpireDate)" disabled="">
                @*<button type="submit" class="btn btn-primary">Renew</button>*@
                @Html.ActionLink("Renew", "Renew",new {  id=Model.MemberCardId },new {@class = "btn"})
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                @*<button type="submit" class="btn btn-primary">Save changes</button>*@
                @Html.ActionLink("Save changes", "Edit",null,new {@class = "btn btn-primary"})               
            </div>
        </div>
    </form>
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
